package com.dragon.modules.yuegou.query.marketing;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.marketing.ActivityEntity;
import com.dragon.modules.yuegou.enums.marketing.ActivityStatus;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.time.LocalDateTime;

/**
 * 抽奖活动表 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-08-13 17:02:06
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class ActivityQuery extends ActivityEntity implements Query<ActivityEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 商圈id查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "activityName")
	private Condition<String> activityNameCondition;

    /** 图片查询条件 */
	@JsonUnwrapped(prefix = "img")
	private Condition<String> imgCondition;

    /** 默认提示查询条件 */
	@JsonUnwrapped(prefix = "defaultMsg")
	private Condition<String> defaultMsgCondition;

    /** 中奖提示查询条件 */
	@JsonUnwrapped(prefix = "fortunateMsg")
	private Condition<String> fortunateMsgCondition;

    /** 未中奖提示查询条件 */
	@JsonUnwrapped(prefix = "unfortunateMsg")
	private Condition<String> unfortunateMsgCondition;

    /** 重复抽奖提示查询条件 */
	@JsonUnwrapped(prefix = "repeatMsg")
	private Condition<String> repeatMsgCondition;

    /** 有效期开始时间查询条件 */
	@JsonUnwrapped(prefix = "startTime")
	private Condition<LocalDateTime> startTimeCondition;

    /** 有效期结束时间查询条件 */
	@JsonUnwrapped(prefix = "endTime")
	private Condition<LocalDateTime> endTimeCondition;

    /** 每人抽奖总次数查询条件 */
	@JsonUnwrapped(prefix = "personTimesLimit")
	private Condition<Integer> personTimesLimitCondition;

    /** 每人每天抽奖次数查询条件 */
	@JsonUnwrapped(prefix = "dayTimesLimit")
	private Condition<Integer> dayTimesLimitCondition;

    /** 触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件 */
	@JsonUnwrapped(prefix = "triggerConditions")
	private Condition<String> triggerConditionsCondition;

    /** 累计签到天数查询条件 */
	@JsonUnwrapped(prefix = "days")
	private Condition<Integer> daysCondition;

    /** 活动规则查询条件 */
	@JsonUnwrapped(prefix = "activityRules")
	private Condition<String> activityRulesCondition;

    /** 创建人ID查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 更新人ID查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 更新时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** [枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件 */
	@JsonUnwrapped(prefix = "status")
	private Condition<ActivityStatus> statusCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public ActivityQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public ActivityQuery(ActivityEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public ActivityQuery(ActivityQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.activityNameCondition != null) {
			this.activityNameCondition = other.activityNameCondition.copy();
		}
		if(other.imgCondition != null) {
			this.imgCondition = other.imgCondition.copy();
		}
		if(other.defaultMsgCondition != null) {
			this.defaultMsgCondition = other.defaultMsgCondition.copy();
		}
		if(other.fortunateMsgCondition != null) {
			this.fortunateMsgCondition = other.fortunateMsgCondition.copy();
		}
		if(other.unfortunateMsgCondition != null) {
			this.unfortunateMsgCondition = other.unfortunateMsgCondition.copy();
		}
		if(other.repeatMsgCondition != null) {
			this.repeatMsgCondition = other.repeatMsgCondition.copy();
		}
		if(other.startTimeCondition != null) {
			this.startTimeCondition = other.startTimeCondition.copy();
		}
		if(other.endTimeCondition != null) {
			this.endTimeCondition = other.endTimeCondition.copy();
		}
		if(other.personTimesLimitCondition != null) {
			this.personTimesLimitCondition = other.personTimesLimitCondition.copy();
		}
		if(other.dayTimesLimitCondition != null) {
			this.dayTimesLimitCondition = other.dayTimesLimitCondition.copy();
		}
		if(other.triggerConditionsCondition != null) {
			this.triggerConditionsCondition = other.triggerConditionsCondition.copy();
		}
		if(other.daysCondition != null) {
			this.daysCondition = other.daysCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(ActivityQuery other){
		if(other.activityRulesCondition != null) {
			this.activityRulesCondition = other.activityRulesCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.statusCondition != null) {
			this.statusCondition = other.statusCondition.copy();
		}
	}

	@Override
	public QueryWrapper<ActivityEntity> toQueryWrapper() {
		QueryWrapper<ActivityEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (activityNameCondition != null) {
			activityNameCondition.toWrapper(wrapper, COL_ACTIVITY_NAME);
		}
		if (imgCondition != null) {
			imgCondition.toWrapper(wrapper, COL_IMG);
		}
		if (defaultMsgCondition != null) {
			defaultMsgCondition.toWrapper(wrapper, COL_DEFAULT_MSG);
		}
		if (fortunateMsgCondition != null) {
			fortunateMsgCondition.toWrapper(wrapper, COL_FORTUNATE_MSG);
		}
		if (unfortunateMsgCondition != null) {
			unfortunateMsgCondition.toWrapper(wrapper, COL_UNFORTUNATE_MSG);
		}
		if (repeatMsgCondition != null) {
			repeatMsgCondition.toWrapper(wrapper, COL_REPEAT_MSG);
		}
		if (startTimeCondition != null) {
			startTimeCondition.toWrapper(wrapper, COL_START_TIME);
		}
		if (endTimeCondition != null) {
			endTimeCondition.toWrapper(wrapper, COL_END_TIME);
		}
		if (personTimesLimitCondition != null) {
			personTimesLimitCondition.toWrapper(wrapper, COL_PERSON_TIMES_LIMIT);
		}
		if (dayTimesLimitCondition != null) {
			dayTimesLimitCondition.toWrapper(wrapper, COL_DAY_TIMES_LIMIT);
		}
		if (triggerConditionsCondition != null) {
			triggerConditionsCondition.toWrapper(wrapper, COL_TRIGGER_CONDITIONS);
		}
		if (daysCondition != null) {
			daysCondition.toWrapper(wrapper, COL_DAYS);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<ActivityEntity> getQueryWrapper(QueryWrapper<ActivityEntity> wrapper){
		if (activityRulesCondition != null) {
			activityRulesCondition.toWrapper(wrapper, COL_ACTIVITY_RULES);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (statusCondition != null) {
			statusCondition.toWrapper(wrapper, COL_STATUS);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回商圈id查询条件
	 * 
	 * @return busdIdCondition 商圈id查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈id查询条件
	 * 
	 * @return busdIdCondition 商圈id查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈id查询条件
	 * 
	 * @param busdIdCondition 商圈id查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return activityNameCondition 查询条件
	 */
	public Condition<String> activityName() {
		this.activityNameCondition = new Condition<>();
		return this.activityNameCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return activityNameCondition 查询条件
	 */
	public Condition<String> getActivityNameCondition() {
		return activityNameCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param activityNameCondition 查询条件
	 */
	public void setActivityNameCondition(Condition<String> activityNameCondition) {
		this.activityNameCondition = activityNameCondition;
	}

	/**
	 * 构造并返回图片查询条件
	 * 
	 * @return imgCondition 图片查询条件
	 */
	public Condition<String> img() {
		this.imgCondition = new Condition<>();
		return this.imgCondition;
	}
	
	/**
	 * 获取图片查询条件
	 * 
	 * @return imgCondition 图片查询条件
	 */
	public Condition<String> getImgCondition() {
		return imgCondition;
	}

	/**
	 * 设置图片查询条件
	 * 
	 * @param imgCondition 图片查询条件
	 */
	public void setImgCondition(Condition<String> imgCondition) {
		this.imgCondition = imgCondition;
	}

	/**
	 * 构造并返回默认提示查询条件
	 * 
	 * @return defaultMsgCondition 默认提示查询条件
	 */
	public Condition<String> defaultMsg() {
		this.defaultMsgCondition = new Condition<>();
		return this.defaultMsgCondition;
	}
	
	/**
	 * 获取默认提示查询条件
	 * 
	 * @return defaultMsgCondition 默认提示查询条件
	 */
	public Condition<String> getDefaultMsgCondition() {
		return defaultMsgCondition;
	}

	/**
	 * 设置默认提示查询条件
	 * 
	 * @param defaultMsgCondition 默认提示查询条件
	 */
	public void setDefaultMsgCondition(Condition<String> defaultMsgCondition) {
		this.defaultMsgCondition = defaultMsgCondition;
	}

	/**
	 * 构造并返回中奖提示查询条件
	 * 
	 * @return fortunateMsgCondition 中奖提示查询条件
	 */
	public Condition<String> fortunateMsg() {
		this.fortunateMsgCondition = new Condition<>();
		return this.fortunateMsgCondition;
	}
	
	/**
	 * 获取中奖提示查询条件
	 * 
	 * @return fortunateMsgCondition 中奖提示查询条件
	 */
	public Condition<String> getFortunateMsgCondition() {
		return fortunateMsgCondition;
	}

	/**
	 * 设置中奖提示查询条件
	 * 
	 * @param fortunateMsgCondition 中奖提示查询条件
	 */
	public void setFortunateMsgCondition(Condition<String> fortunateMsgCondition) {
		this.fortunateMsgCondition = fortunateMsgCondition;
	}

	/**
	 * 构造并返回未中奖提示查询条件
	 * 
	 * @return unfortunateMsgCondition 未中奖提示查询条件
	 */
	public Condition<String> unfortunateMsg() {
		this.unfortunateMsgCondition = new Condition<>();
		return this.unfortunateMsgCondition;
	}
	
	/**
	 * 获取未中奖提示查询条件
	 * 
	 * @return unfortunateMsgCondition 未中奖提示查询条件
	 */
	public Condition<String> getUnfortunateMsgCondition() {
		return unfortunateMsgCondition;
	}

	/**
	 * 设置未中奖提示查询条件
	 * 
	 * @param unfortunateMsgCondition 未中奖提示查询条件
	 */
	public void setUnfortunateMsgCondition(Condition<String> unfortunateMsgCondition) {
		this.unfortunateMsgCondition = unfortunateMsgCondition;
	}

	/**
	 * 构造并返回重复抽奖提示查询条件
	 * 
	 * @return repeatMsgCondition 重复抽奖提示查询条件
	 */
	public Condition<String> repeatMsg() {
		this.repeatMsgCondition = new Condition<>();
		return this.repeatMsgCondition;
	}
	
	/**
	 * 获取重复抽奖提示查询条件
	 * 
	 * @return repeatMsgCondition 重复抽奖提示查询条件
	 */
	public Condition<String> getRepeatMsgCondition() {
		return repeatMsgCondition;
	}

	/**
	 * 设置重复抽奖提示查询条件
	 * 
	 * @param repeatMsgCondition 重复抽奖提示查询条件
	 */
	public void setRepeatMsgCondition(Condition<String> repeatMsgCondition) {
		this.repeatMsgCondition = repeatMsgCondition;
	}

	/**
	 * 构造并返回有效期开始时间查询条件
	 * 
	 * @return startTimeCondition 有效期开始时间查询条件
	 */
	public Condition<LocalDateTime> startTime() {
		this.startTimeCondition = new Condition<>();
		return this.startTimeCondition;
	}
	
	/**
	 * 获取有效期开始时间查询条件
	 * 
	 * @return startTimeCondition 有效期开始时间查询条件
	 */
	public Condition<LocalDateTime> getStartTimeCondition() {
		return startTimeCondition;
	}

	/**
	 * 设置有效期开始时间查询条件
	 * 
	 * @param startTimeCondition 有效期开始时间查询条件
	 */
	public void setStartTimeCondition(Condition<LocalDateTime> startTimeCondition) {
		this.startTimeCondition = startTimeCondition;
	}

	/**
	 * 构造并返回有效期结束时间查询条件
	 * 
	 * @return endTimeCondition 有效期结束时间查询条件
	 */
	public Condition<LocalDateTime> endTime() {
		this.endTimeCondition = new Condition<>();
		return this.endTimeCondition;
	}
	
	/**
	 * 获取有效期结束时间查询条件
	 * 
	 * @return endTimeCondition 有效期结束时间查询条件
	 */
	public Condition<LocalDateTime> getEndTimeCondition() {
		return endTimeCondition;
	}

	/**
	 * 设置有效期结束时间查询条件
	 * 
	 * @param endTimeCondition 有效期结束时间查询条件
	 */
	public void setEndTimeCondition(Condition<LocalDateTime> endTimeCondition) {
		this.endTimeCondition = endTimeCondition;
	}

	/**
	 * 构造并返回每人抽奖总次数查询条件
	 * 
	 * @return personTimesLimitCondition 每人抽奖总次数查询条件
	 */
	public Condition<Integer> personTimesLimit() {
		this.personTimesLimitCondition = new Condition<>();
		return this.personTimesLimitCondition;
	}
	
	/**
	 * 获取每人抽奖总次数查询条件
	 * 
	 * @return personTimesLimitCondition 每人抽奖总次数查询条件
	 */
	public Condition<Integer> getPersonTimesLimitCondition() {
		return personTimesLimitCondition;
	}

	/**
	 * 设置每人抽奖总次数查询条件
	 * 
	 * @param personTimesLimitCondition 每人抽奖总次数查询条件
	 */
	public void setPersonTimesLimitCondition(Condition<Integer> personTimesLimitCondition) {
		this.personTimesLimitCondition = personTimesLimitCondition;
	}

	/**
	 * 构造并返回每人每天抽奖次数查询条件
	 * 
	 * @return dayTimesLimitCondition 每人每天抽奖次数查询条件
	 */
	public Condition<Integer> dayTimesLimit() {
		this.dayTimesLimitCondition = new Condition<>();
		return this.dayTimesLimitCondition;
	}
	
	/**
	 * 获取每人每天抽奖次数查询条件
	 * 
	 * @return dayTimesLimitCondition 每人每天抽奖次数查询条件
	 */
	public Condition<Integer> getDayTimesLimitCondition() {
		return dayTimesLimitCondition;
	}

	/**
	 * 设置每人每天抽奖次数查询条件
	 * 
	 * @param dayTimesLimitCondition 每人每天抽奖次数查询条件
	 */
	public void setDayTimesLimitCondition(Condition<Integer> dayTimesLimitCondition) {
		this.dayTimesLimitCondition = dayTimesLimitCondition;
	}

	/**
	 * 构造并返回触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件
	 * 
	 * @return triggerConditionsCondition 触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件
	 */
	public Condition<String> triggerConditions() {
		this.triggerConditionsCondition = new Condition<>();
		return this.triggerConditionsCondition;
	}
	
	/**
	 * 获取触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件
	 * 
	 * @return triggerConditionsCondition 触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件
	 */
	public Condition<String> getTriggerConditionsCondition() {
		return triggerConditionsCondition;
	}

	/**
	 * 设置触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件
	 * 
	 * @param triggerConditionsCondition 触发条件：0-核销成功、 1-停车缴费成功、 2-累计签到、 3-打开APP/小程序、 4-注册查询条件
	 */
	public void setTriggerConditionsCondition(Condition<String> triggerConditionsCondition) {
		this.triggerConditionsCondition = triggerConditionsCondition;
	}

	/**
	 * 构造并返回累计签到天数查询条件
	 * 
	 * @return daysCondition 累计签到天数查询条件
	 */
	public Condition<Integer> days() {
		this.daysCondition = new Condition<>();
		return this.daysCondition;
	}
	
	/**
	 * 获取累计签到天数查询条件
	 * 
	 * @return daysCondition 累计签到天数查询条件
	 */
	public Condition<Integer> getDaysCondition() {
		return daysCondition;
	}

	/**
	 * 设置累计签到天数查询条件
	 * 
	 * @param daysCondition 累计签到天数查询条件
	 */
	public void setDaysCondition(Condition<Integer> daysCondition) {
		this.daysCondition = daysCondition;
	}

	/**
	 * 构造并返回活动规则查询条件
	 * 
	 * @return activityRulesCondition 活动规则查询条件
	 */
	public Condition<String> activityRules() {
		this.activityRulesCondition = new Condition<>();
		return this.activityRulesCondition;
	}
	
	/**
	 * 获取活动规则查询条件
	 * 
	 * @return activityRulesCondition 活动规则查询条件
	 */
	public Condition<String> getActivityRulesCondition() {
		return activityRulesCondition;
	}

	/**
	 * 设置活动规则查询条件
	 * 
	 * @param activityRulesCondition 活动规则查询条件
	 */
	public void setActivityRulesCondition(Condition<String> activityRulesCondition) {
		this.activityRulesCondition = activityRulesCondition;
	}

	/**
	 * 构造并返回创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建人ID查询条件
	 * 
	 * @param createdByCondition 创建人ID查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置更新人ID查询条件
	 * 
	 * @param modifiedByCondition 更新人ID查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置更新时间查询条件
	 * 
	 * @param modifiedTimeCondition 更新时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回[枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件
	 */
	public Condition<ActivityStatus> status() {
		this.statusCondition = new Condition<>();
		return this.statusCondition;
	}
	
	/**
	 * 获取[枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件
	 * 
	 * @return statusCondition [枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件
	 */
	public Condition<ActivityStatus> getStatusCondition() {
		return statusCondition;
	}

	/**
	 * 设置[枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件
	 * 
	 * @param statusCondition [枚举]状态：0-待开始-WAIT、1-进行中-DOING、2-已停止-STOP、3-已过期-EXPIRED查询条件
	 */
	public void setStatusCondition(Condition<ActivityStatus> statusCondition) {
		this.statusCondition = statusCondition;
	}

}
